package com.example.service.aboutUser;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.vo.request.CreateRoleForm;
import com.example.vo.request.EditRoleDesForm;
import com.example.vo.request.NewRolePermission;
import com.example.pojo.aboutUser.SystemRole;
import com.example.vo.Result;

public interface RoleService extends IService<SystemRole> {

    Result getAllRole();

    Result createRole(CreateRoleForm createRoleForm);

    Result getPermissionsByRoleId(Integer roleId);

    Result updateRolePermission(NewRolePermission newRolePermission);

    Result updateRoleDescription(EditRoleDesForm editRoleDesForm);

}
